package h_Polymorphism;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package f_Polymorphism
 * @date 2024/3/31 下午1:09
 */
public class Dog  extends Animal {
    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }
    public void lookHome(){
        System.out.println("狗看家");;
    }
}
